*{
    margin: 0;
    padding: 0;
}

main{
    section{
        display: flex;
        width: 1200px;
        margin: 0 auto;
    }
    .text-banner{
        width: 100%;
        height: 40px;
        background: #47464a;
        >ul{
            width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            list-style: none;
            text-align: center;
            >li{
                width: 100px;
                position: relative;
                >a{
                    text-decoration: none;
                    color: #999999;
                    font-size: 14px;
                    line-height: 40px;
                    
                }
                &:first-child{
                    >a{
                        color: #f99135;
                    }
                    &::after{
                        position: absolute;
                        left: 45%;
                        bottom: 0;
                        content: '';
                        display: block;
                        border: 7px solid #fff;
                        border-top: 7px solid transparent;
                        border-left: 7px solid transparent;
                        border-right: 7px solid transparent;
                    }
                }
            }
        }
    }
    // 分类筛选
    .screen{
        position: relative;
        margin-top: 30px;
        flex-direction: column;
        padding: 0 10px;
        border: 1px solid #e5e5e5;
        margin-bottom: 20px;
        box-sizing: border-box;
        >div{
            display: flex;
            margin-top: 10px;
        }
        span{
            margin: 5px 10px;
            display: block;
        }
        ul{
            width: 94%;
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            padding-bottom: 10px;
            // margin-bottom: 10px;
            border-bottom: 1px dotted #e5e5e5;
            li{
                display: block;
                font-size: 14px;
                padding: 5px 10px;
                margin-right: 30px;
                border-radius: 18px;
            }
            .active{
                color: #fff;
                background: #f99135;
            }
        }
    }
    // 影片筛选
    article{
        width: 1200px;
        margin: 0 auto;
        .sort{
            display: flex;
            justify-content: start;
            span{
                display: flex;
                align-items: center;
                margin-right: 100px;
                input{
                    margin-right: 10px;
                };
                .radio_type{
                    width: 20px;
                    height:20px;
                    appearance: none;
                    position: relative;
                }
                .radio_type:before{
                    content: '';
                    width: 12px;
                    height: 12px;
                    border: 2px solid #EDD19D;
                    display: inline-block;
                    border-radius: 50%;
                    vertical-align: middle;
                    background: #fff;
                }
                .radio_type:checked:before{
                    content: '';
                    width: 12px;
                    height: 12px;
                    border: 2px solid #EDD19D;
                    display: inline-block;
                    border-radius: 50%;
                    vertical-align: middle;
                    background: #EDD19D;
                 }
                 .radio_type:checked:after{
                    content: '';
                    width: 6px;
                    height: 6px;
                    text-align: center;
                    background:#fff;
                    border-radius: 50%;
                    display: block;
                    position: absolute;
                    top: 5px;
                    left: 5px;
                 }
            }
        }
        .films{
            position: relative;
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            height: 1000px;
            >a{
                display: block;
                text-decoration: none;
                color: #003333;
                width: 15%;
                // height: 280px;
                text-align: center;
                margin: 30px 10px;
                overflow: hidden;
                .des{
                    position: relative;
                    transition: all .1s linear;
                    >img{
                        width: 90%;
                        height: 200px;
                        transition: all 1s linear;
                    }
                    >p{
                        width: 80%;
                        height: 20px;
                        margin: 10px 0;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    };
                    .introduce{
                        display: none;
                        position: absolute;
                        left: 5%;
                        bottom: 0;
                        width: 90%;
                        height: 50%;
                        margin: 0 auto;
                        background: #fff;
                        padding: 20px 10px;
                        text-align: left;
                        box-sizing: border-box;
                        >p{
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            width: 80%;
                            height: 20px;
                            font-size: 12px;
                            color: #333333;
                            margin: 10px 0;
                            >i{
                                position: absolute;
                                right: 10%;
                                font-size: 18px;
                                color: #f99135;
                            }
                        }
                        >span{
                            display: block;
                            height: 15px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            font-size: 10px;
                            color: #333333;
                            margin: 5px 0;
                            >em{
                                font-style: normal;
                                font-style: 12px;
                                height: 10px;
                                color: #999999;
                            }
                        }
                    }
                    &:hover{
                        // transform-origin: bottom;
                        // transform: scale(1.2);
                        .introduce{
                            display: block;
                        }
                        >p{
                            display: none;
                        }
                    }
                }
                >i{
                    font-size: 18px;
                    color: #f99135;
                }
                &:hover{
                    transform: scale(1.2);
                    >i{
                        display: none;
                    }
                }
            }
        }
        // 分页
        .page{
            display: flex;
            width: 200px;
            margin: 10px auto 50px;
            >a{
                display: block;
                width: 10px;
                height: 20px;
                padding: 5px 10px;
                border: 1px solid #d8d8d8;
                color: #333333;
                text-decoration: none;
                margin: 0 10px;
                font-style: 12px;
                &:first-child{
                    color: #fff;
                    background: #f99135;
                }
                &:last-child{
                    width: 50px;
                }
            }
        }
    }
}
